﻿using DGZImp.MdsProject.Devices.Base;
using DGZImp.MdsProject.Devices.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DGZImp.MdsProject.Devices.Entities
{
    public class DataServe
    {
        public string Id { get; set; }
        public string Name { get; set; }
        public ServeTypeEmun ServeType { get; set; }
        public string BaseUrl { get; set; }
        public string Ip { get; set; }
        public int Port { get; set; }
        public List<DbBlockCfgItem> DbBlocks { get; set; }
        public bool IsAutoRead { get; set; }
        public int ReadInterval { get; set; }
        public IIotServe IotServe { get; set; }
        public string RequestModel { get; set; }
    }
}
